#include<iostream>

void swap(int a[]) {
	int t = a[0];
	a[0] = a[1];
	a[1] = t;
}

int main() {
	int b[2] = { 0, 1 };
	swap(b);
	//while (1);
	return 0;
}